using Microsoft.EntityFrameworkCore;

namespace MyInfrastructure.Contexts.Discuss.Topics
{
    public class TopicsContext:DbContext
    {
        public TopicsContext():base()
        {

        }

        public TopicsContext(DbContextOptions<TopicsContext> options):base(options)
        {

        }

        public DbSet<MyDomain.Discuss.Topics> Topics { set; get; }

        public DbSet<MyDomain.Discuss.Replys> Replys { set; get; }

        public DbSet<MyDomain.Discuss.TopicsHistory> TopicsHistory { set; get; }
    }
}